COM AT^SBMH test - Bookmark handling 
COM V1.0	29.11.2004	T. Kleinmann

from attglobals import *

#Test command
AT^SBMH=?
WAITFOR (1,'^SBMH: (1-3),45')

#Read command - Exports bookmarks to file Data\Misc\bookmark.html
AT^SBMH?
WAIT FOR OK
USERTEST('Please check manually on mobile that there is a file "bookmark.html" in mobile folder Data\Misc')

#Write command
AT^SBMH=2
WAIT FOR OK
USERTEST('Please check manually on mobile that the bookmarks just exportetd to file are appended in bookmarks list now!')

ATCMD(1,'AT^SBMH=3,Test')
WAIT FOR OK
USERTEST('Please check manually on mobile that the bookmarks just exportetd to file are created in folder "Test" in bookmarks list!')

AT^SBMH=1
WAIT FOR OK
USERTEST('Please check manually on mobile that the bookmarks are restored to formerly exported bookmarks. (Bookmarks overwritten by content in bookmark.html')

AT
WAIT FOR OK



